import * as apiService from '@/services/api';

/**
 * 首充活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveFirstRechargeConfig = params => apiService.post(api.ACTIVITY_SAVE_FIRST_RECHARGE_CONFIG, params);

/**
 * 获取首充活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getFirstRechargeConfig = params => apiService.post(api.ACTIVITY_GET_FIRST_RECHARGE_CONFIG, params);

/**
 * 首充活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getFirstRechargeList = params => apiService.post(api.ACTIVITY_GET_FIRST_RECHARGE_LIST, params);

/**
 * 真人连赢活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveRealWinConfig = params => apiService.post(api.ACTIVITY_SAVE_REAL_WIN_CONFIG, params);

/**
 * 获取真人连赢活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRealWinConfig = params => apiService.post(api.ACTIVITY_GET_REAL_WIN_CONFIG, params);

/**
 * 真人连赢活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRealWinList = params => apiService.post(api.ACTIVITY_GET_REAL_WINE_LIST, params);

/**
 * 体育闯关活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveSportGoConfig = params => apiService.post(api.ACTIVITY_SAVE_SPORT_GO_CONFIG, params);

/**
 * 获取体育闯关活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSportGoConfig = params => apiService.post(api.ACTIVITY_GET_SPORT_GO_CONFIG, params);

/**
 * 体育闯关活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSportGoList = params => apiService.post(api.ACTIVITY_GET_SPORT_GO_LIST, params);
//   //
//   ,
//   ,
//   ,
/**
 * 老虎机救援活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveTigerRescueConfig = params => apiService.post(api.ACTIVITY_SAVE_TIGER_RESCUE_CONFIG, params);

/**
 * 获取老虎机救援活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getTigerRescueConfig = params => apiService.post(api.ACTIVITY_GET_TIGER_RESCUE_CONFIG, params);

/**
 * 老虎机救援活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getTigerRescueList = params => apiService.post(api.ACTIVITY_GET_TIGER_RESCUE_LIST, params);
/**
 * 返水活动list
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRebateList = params => apiService.post(api.REBATE_ACTIVITY_CFG_LIST, params);
/**
 * 返水活动活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const updateRebate = params => apiService.post(api.REBATE_ACTIVITY_CFG_ADD, params);
/**
 * 返水活动活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const deleteRebate = params => apiService.post(api.REBATE_ACTIVITY_CFG_DELETE, params);

/**
 * 真人闯关活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveRealBreakThroughConfig = params => apiService.post(api.ACTIVITY_SAVE_REAL_BREAK_THROUGH_CONFIG, params);

/**
 * 获取真人闯关活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRealBreakThroughConfig = params => apiService.post(api.ACTIVITY_GET_REAL_BREAK_THROUGH_CONFIG, params);

/**
 * 真人闯关活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRealBreakThroughList = params => apiService.post(api.ACTIVITY_GET_REAL_BREAK_THROUGH_LIST, params);

/**
 * 获取砸金蛋活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringGoldEggs = params => apiService.post(api.ACTIVITY_GET_SPRING_GOLD_EGGS_LIST, params);

/**
 * 获取砸金蛋活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringGoldEggsConfig = params => apiService.post(api.ACTIVITY_GET_SPRING_GOLD_EGGS_CONFIG, params);

/**
 * 保存砸金蛋活动配置
 * * @param params
 * @returns {Promise<*>}
 *
*/
const saveSpringGoldEggsConfig = params => apiService.post(api.ACTIVITY_SAVE_SPRING_GOLD_EGGS_CONFIG, params);

/**
 * 获取春节体育充提活动数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringSportRecharge = params => apiService.post(api.ACTIVITY_GET_SPRING_SPORT_RECHARGE_LIST, params);

/**
 * 获取春节体育充提活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringRechargeConfig = params => apiService.post(api.ACTIVITY_GET_SPRING_SPORT_RECHARGE_CONFIG, params);

/**
 * 保存春节体育充提活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveSpringRechargeConfig = params => apiService.post(api.ACTIVITY_SAVE_SPRING_SPORT_RECHARGE_CONFIG, params);

/**
 * 获取春节红包雨数据
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringRedRainList = params => apiService.post(api.ACTIVITY_GET_SPRING_REDRAIN_LIST, params);

/**
 * 获取春节红包雨活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const getSpringRedrainConfig = params => apiService.post(api.ACTIVITY_GET_SPRING_REDRAIN_CONFIG, params);

/**
 * 保存春节红包雨活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveSpringRedrainConfig = params => apiService.post(api.ACTIVITY_SAVE_SPRING_REDRAIN_CONFIG, params);

/**
 * 导出体育充提活动列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const exportSpringRechargeList = params => apiService.post(api.EXPORT_SPRING_SPORT_RECHARGE_LIST, params);

/**
 * 导出春节红包雨活动表格
 * @param params
 * @returns {Promise<*>}
 *
 */
const exportSpringRedRain = params => apiService.post(api.ACTIVITY_EXPORT_SPRING_REDRAIN_LIST, params);

/**
 * 导出砸金蛋活动配置
 * @param params
 * @returns {Promise<*>}
 *
 */

const exportSpringGoldEggs = params => apiService.post(api.ACTIVITY_EXPORT_SPRING_GOLD_EGGS_LIST, params);
/**
 * 查询端午节粽子活动领取记录
 * @param params
 * @returns {Promise<*>}
 *
 */

const getRiceDumplingList = params => apiService.post(api.GET_RICE_DUMPLING_LIST, params);
/**
 * 添加端午节粽子活动领取记录备注
 * @param params
 * @returns {Promise<*>}
 *
 */

const addRiceDumplingRemarks = params => apiService.post(api.ADD_RICE_DUMPLING_REMARK, params);
/**
 * 查询端午节粽子活动指定中奖列表
 * @param params
 * @returns {Promise<*>}
 *
 */

const getAssignRiceDumplingRewardList = params => apiService.post(api.GET_ASSIGN_RICE_DUMPLING_REWARD_LIST, params);
/**
 * 添加端午节粽子活动指定中奖
 * @param params
 * @returns {Promise<*>}
 *
 */
const addAssignRiceDumplingRewardList = params => apiService.post(api.ADD_ASSIGN_RICE_DUMPLING_REWARD_LIST, params);
/**
 * 删除端午节粽子活动指定中奖
 * @param params
 * @returns {Promise<*>}
 *
 */
const deleteAssignRiceDumplingRewardList = params => apiService.post(api.DELETE_ASSIGN_RICE_DUMPLING_REWARD_LIST, params);

/**
 * 端午节粽子活动查询收货信息
 * @param params
 * @returns {Promise<*>}
 *
 */
const getRiceDumplingReceiveInfo = params => apiService.post(api.GET_RICE_DUMPLING_RECEIVE_INFO, params);

/**
* 美洲杯活动添加虚假流水
* @param params
* @returns {Promise<*>}
*
*/
const addAmericaCupFlow = params => apiService.post(api.ADD_AMERICA_CUP_FLOW, params);

/**
 * 美洲杯活动获取虚假流水修改记录列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const getAmericaCupModifyList = params => apiService.post(api.GET_AMERICA_CUP_MODIFY_LIST, params);

/**
 * 美洲杯活动第二波--添加备注
 * @param params
 * @returns {Promise<*>}
 *
 */
const addAmericaCupRemark = params => apiService.post(api.GET_AMERICA_CUP_ADD_REMARK, params);

/**
 * 美洲杯活动第二波--添加备注
 * @param params
 * @returns {Promise<*>}
 *
 */
const getAmericaCupList = params => apiService.post(api.GET_AMERICA_CUP_LIST, params);

/**
 * 英超活动数据统计列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const getPremierleagueCountList = params => apiService.post(api.GET_PREMIER_LEAGUE_COUNT_LIST, params);

/**
 * 查询英超活动的领奖记录
 * @param params
 * @returns {Promise<*>}
 *
 */
const getPremierLeagueAwardList = params => apiService.post(api.GET_PREMIER_LEAGUE_AWARD_LIST, params);

/**
 * 添加英超活动记录备注
 * @param params
 * @returns {Promise<*>}
 *
 */
const addPremierLeagueLogRemark = params => apiService.post(api.ADD_PREMIER_LEAGUE_LOG_REMARK, params);

/**
 * 查询奖池派发时间
 * @param params
 * @returns {Promise<*>}
 *
 */
const getAssignJackpotTime = params => apiService.post(api.GET_ASSIGN_JACKPOT_TIME, params);

/**
 * 修改奖池派发时间
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveAssignJackpotTime = params => apiService.post(api.SAVE_ASSIGN_JACKPOT_TIME, params);

/**
 * 查询英超活动的中奖公告列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const getWinningNoticeList = params => apiService.post(api.GET_WINNING_NOTICE_LIST, params);

/**
 * 添加英超活动的中奖公告列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const addWinningNoticeList = params => apiService.post(api.ADD_WINNING_NOTICE_LIST, params);

/**
 * 开启中奖公告
 * @param params
 * @returns {Promise<*>}
 *
 */
const showWinningNotice = params => apiService.post(api.SHOW_WINNING_NOTICE, params);

/**
 * 删除中奖公告
 * @param params
 * @returns {Promise<*>}
 *
 */
const deleteWinningNotice = params => apiService.post(api.DELETE_WINNING_NOTICE, params);

/**
 * 保存英超活动的指定中奖
 * @param params
 * @returns {Promise<*>}
 *
 */
const saveAssignAward = params => apiService.post(api.SAVE_ASSIGN_AWARD, params);

/**
 * 查询英超活动的指定中奖列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const getAssignAwardList = params => apiService.post(api.GET_ASSIGN_AWARD_LIST, params);

/**
 * 删除英超活动的指定中奖列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const deleteAssignAwardList = params => apiService.post(api.DELETE_ASSIGN_AWARD_LIST, params);

/**
 * 查询英超活动的百万大奖列表
 * @param params
 * @returns {Promise<*>}
 *
 */
const getJackpotList = params => apiService.post(api.GET_JACKPOT_LIST, params);

/**
 * 查询英超活动的百万大奖用户信息
 * @param params
 * @returns {Promise<*>}
 *
 */
const getJackpotListDetail = params => apiService.post(api.GET_JACKPOT_LIST_DETAIL, params);

export {
  getRebateList,
  updateRebate,
  deleteRebate,

  saveFirstRechargeConfig,
  getFirstRechargeConfig,
  getFirstRechargeList,

  saveRealWinConfig,
  getRealWinConfig,
  getRealWinList,

  saveSportGoConfig,
  getSportGoConfig,
  getSportGoList,

  saveTigerRescueConfig,
  getTigerRescueConfig,
  getTigerRescueList,

  saveRealBreakThroughConfig,
  getRealBreakThroughConfig,
  getRealBreakThroughList,

  getSpringGoldEggs,
  getSpringGoldEggsConfig,
  saveSpringGoldEggsConfig,
  exportSpringGoldEggs,

  getSpringRedRainList,
  getSpringRedrainConfig,
  saveSpringRedrainConfig,
  exportSpringRedRain,

  getSpringSportRecharge,
  getSpringRechargeConfig,
  saveSpringRechargeConfig,
  exportSpringRechargeList,

  getRiceDumplingList,
  addRiceDumplingRemarks,
  getAssignRiceDumplingRewardList,
  addAssignRiceDumplingRewardList,
  deleteAssignRiceDumplingRewardList,
  getRiceDumplingReceiveInfo,

  addAmericaCupFlow,
  getAmericaCupModifyList,
  addAmericaCupRemark,
  getAmericaCupList,

  getPremierleagueCountList,
  getPremierLeagueAwardList,
  addPremierLeagueLogRemark,
  getAssignJackpotTime,
  saveAssignJackpotTime,
  addWinningNoticeList,
  getWinningNoticeList,
  showWinningNotice,
  deleteWinningNotice,
  saveAssignAward,
  getAssignAwardList,
  deleteAssignAwardList,
  getJackpotList,
  getJackpotListDetail,
};
